package entity.sparemanage.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class requisitionDto {
    private Integer page;
    private Integer pageSize;
    private String codeName;
    //采购单号
    private String purchaseNumber;
    //采购日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date purchaseDate;
    //采购人员
    private Integer purchasePerson;
    //申请人
    private Integer applicant;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    //操作时间
    private Date operationTime;
    //采购主题
    private String purchaseTheme;
    //采购部门
    private Integer department;
    //供应商
    private Integer supplier;
    //状态
    private Integer status;
}
